<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for src/components/APP/Inspect/Main/List.vue</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="..\..\..\..\..\prettify.css" />
    <link rel="stylesheet" href="..\..\..\..\..\base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(..\..\..\..\..\sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="..\..\..\..\..\index.html">All files</a> / <a href="index.html">src/components/APP/Inspect/Main</a> List.vue
    </h1>
    <div class='clearfix'>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Statements</span>
        <span class='fraction'>0/119</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Branches</span>
        <span class='fraction'>0/54</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Functions</span>
        <span class='fraction'>0/19</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Lines</span>
        <span class='fraction'>0/118</span>
      </div>
    </div>
  </div>
  <div class='status-line low'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&lt;template&gt;
  &lt;div o-Container o-Container-App&gt;
    &lt;van-nav-bar :title="title" left-arrow @click-left="back" v-bind="{fixed:true}"/&gt;
    &lt;div class="content"&gt;
      &lt;div class="containerMask"&gt;&lt;/div&gt;
      &lt;!--      &lt;van-tabs v-model="tab_active" line-height="2px" title-active-color="#008FFF" title-inactive-color="#0F0F0F"--&gt;
      &lt;!--                color="#008FFF"&gt;--&gt;
      &lt;!--        &lt;van-tab title="安保(8)"&gt;&lt;/van-tab&gt;--&gt;
      &lt;!--        &lt;van-tab title="保洁(9)"&gt;&lt;/van-tab&gt;--&gt;
      &lt;!--        &lt;van-tab title="工程(14)"&gt;&lt;/van-tab&gt;--&gt;
      &lt;!--      &lt;/van-tabs&gt;--&gt;
      &lt;van-list v-model="loading" :finished="finished" finished-text="我是有底线的。。。" @load="loadNext" v-if="active"&gt;
        &lt;template slot="default"&gt;
          &lt;div class="message" v-for="inspect in list.inspectData" :key="inspect.ID" v-on:click="open(inspect)"&gt;
            &lt;div class="title"&gt;
              &lt;span v-bind:class="'icon icon-gongdan_'+inspect.TypeIDValue"&gt;&lt;/span&gt;&lt;span
              class="code"&gt;{{inspect.Code}}&lt;/span&gt;
              &lt;span v-bind:class="'status s_'+inspect.StatusValue"&gt;{{inspect.Status}}&lt;/span&gt;
            &lt;/div&gt;
            &lt;div class="data"&gt;
              &lt;div&gt;&lt;span&gt;巡检路线名：&lt;/span&gt;{{inspect.Name}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;计划开始时间：&lt;/span&gt;{{inspect.PlanStartTime}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;实际开始时间：&lt;/span&gt;{{inspect.RealStartTime}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;完成时间：&lt;/span&gt;{{inspect.FinishTime}}&lt;/div&gt;
              &lt;div&gt;&lt;span&gt;巡检人员：&lt;/span&gt;{{inspect.UserList}}&lt;/div&gt;
              &lt;div class="features"&gt;
                &lt;span v-if="inspect.IsSort == 0" class="hashed"&gt;散点打卡&lt;/span&gt;
                &lt;span v-if="inspect.IsDelay == 1" class="delay"&gt;存在延误&lt;/span&gt;
                &lt;span v-if="inspect.ApprovalStatus != 0" class="approval"&gt;特批延误&lt;/span&gt;
                &lt;span v-if="inspect.IsException == 1" class="exception"&gt;存在异常&lt;/span&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/template&gt;
      &lt;/van-list&gt;
    &lt;/div&gt;
&nbsp;
    &lt;!-- 巡检单详细页 --&gt;
    &lt;van-popup v-model="showPointData" v-bind="{position:'bottom',class:'popup'}" v-if="InspectInfoData"&gt;
      &lt;div class="info"&gt;
        &lt;div class="title"&gt;
          &lt;span v-bind:class="'icon icon-gongdan_'+InspectInfoData.TypeIDValue"&gt;&lt;/span&gt;&lt;span
          class="code"&gt;{{InspectInfoData.Code}}&lt;/span&gt;
          &lt;span v-bind:class="'status s_'+InspectInfoData.StatusValue"&gt;{{InspectInfoData.Status}}&lt;/span&gt;
        &lt;/div&gt;
        &lt;div&gt;&lt;span&gt;巡检路线名：&lt;/span&gt;{{InspectInfoData.Name}}&lt;/div&gt;
        &lt;!--        &lt;div&gt;--&gt;
        &lt;!--          是否特批：{{InspectInfoData.ApprovalStatus}}，是否延误：{{InspectInfoData.IsDelay}}，是否异常：{{InspectInfoData.IsException}}--&gt;
        &lt;!--        &lt;/div&gt;--&gt;
        &lt;div&gt;&lt;span&gt;计划开始时间：&lt;/span&gt;{{InspectInfoData.PlanStartTime}}&lt;/div&gt;
        &lt;div&gt;&lt;span&gt;实际开始时间：&lt;/span&gt;{{InspectInfoData.RealStartTime}}&lt;/div&gt;
        &lt;div&gt;&lt;span&gt;巡检人员：&lt;/span&gt;{{InspectInfoData.UserList}}&lt;/div&gt;
        &lt;!--        &lt;div&gt;完成时间：{{InspectInfoData.FinishTime}}&lt;/div&gt;--&gt;
        &lt;div class="features"&gt;
          &lt;span v-if="InspectInfoData.IsSort == 0" class="hashed"&gt;散点打卡&lt;/span&gt;
          &lt;span v-if="InspectInfoData.IsDelay == 1" class="delay"&gt;存在延误&lt;/span&gt;
          &lt;span v-if="InspectInfoData.ApprovalStatus != 0" class="approval"&gt;特批延误&lt;/span&gt;
          &lt;span v-if="InspectInfoData.IsException == 1" class="exception"&gt;存在异常&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;el-steps class="point" direction="vertical"&gt;
        &lt;el-step status="process" v-for="event in list.inspectionPoint.data.queryData" :key="event.ID"
                 :status="event.IsCheck==1?'finish':'wait'"&gt;
          &lt;template slot="title"&gt;
            &lt;span class="name"&gt;{{event.PointID}}&lt;/span&gt;
            &lt;span v-if="event.IsDelay == 1" class="delay"&gt;延误&lt;/span&gt;
            &lt;!-- &lt;span class="datetime"&gt;{{event.CreateTime}}&lt;/span&gt; --&gt;
          &lt;/template&gt;
          &lt;template slot="description"&gt;
            &lt;div class="content"&gt;
              &lt;div&gt;
                计划打卡时间：{{event.PlanStartTime}}
              &lt;/div&gt;
              &lt;div&gt;
                实际打卡时间：{{event.RealStartTime}}
              &lt;/div&gt;
              &lt;div&gt;
                打卡人：{{event.CheckUserID}}
              &lt;/div&gt;
              &lt;div class="operation" v-if="canCheckPoint"&gt;
                &lt;span v-if="event.IsCheck == 0" class="check" v-on:click="check(event)"&gt;打卡&lt;/span&gt;
                &lt;!--                &lt;span class="exception"&gt;异常&lt;/span&gt;--&gt;
                &lt;!--                &lt;span class="approval"&gt;特批&lt;/span&gt;--&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/template&gt;
        &lt;/el-step&gt;
      &lt;/el-steps&gt;
    &lt;/van-popup&gt;
&nbsp;
  &lt;/div&gt;
&lt;/template&gt;
&nbsp;
&lt;script&gt;
  export default {
    name: "mms_engine_database_item", /* 这个name暂时不知道用啥用，根据官方文档说的是方便排错的 */
<span class="fstat-no" title="function not covered" >    data() {</span>
<span class="cstat-no" title="statement not covered" >      return {</span>
        octopus: this.$parent.octopus,
        list: {
          inspect: {
            data: {
              id: 58, // 巡检单数据源
              cellData: [
                {name: "ProjectID", filterKey: "=", show: false},
                {name: "TypeIDValue",},
                {name: "Code",},
                {name: "Name"},
                {name: "LineID",},
                {name: "ApprovalStatus",},
                {name: "Status", filterKey: "="},
                {name: "StatusValue",},
                {name: "UserList", filterKey: "LIKE"},
                {name: "PlanStartTime",},
                {name: "RealStartTime"},
                {name: "FinishTime",},
                {name: "IsSort"},
                {name: "IsDelay", filterKey: "="},
                {name: "IsException", filterKey: "="},
                {name: "CreateTime",},
              ],
              pageData: {
                index: 1, listSize: 10, rowSize: 10 // 菜单全部加载。
              }
            },
          },
          inspectData: [],
          // 巡检单点位查询
          inspectionPoint: {
            data: {
              id: 60, // 巡检单点位数据源
              cellData: [
                {name: "InspectionID", width: 170, filterKey: "=", show: false},
                {name: "PointID"},
                {name: "PlanStartTime"},
                {name: "RealStartTime"},
                {name: "ApprovalStatus"},
                {name: "IsDelay"},
                {name: "IsCheck"},
                {name: "CheckUserID"},
                {name: "CreateTime"},
                {name: "NFCCode"},
              ],
              pageData: {
                index: 1, listSize: 10, rowSize: 100 // 最多单巡检计划，支持100个巡检点位。
              }
            }
          },
        },
        title: "",
        indexData: 1,
        loading: false,
        finished: false,
        active: true,
        showPointData: false,
        InspectInfoData: null, // 选中打开的巡检单记录数据
        PointInfoData: null, // 选中的巡检点数据
        canCheckPoint: false, // 是否允许打卡功能
      }
    },
<span class="fstat-no" title="function not covered" >    mounted: function () {</span>
    },
<span class="fstat-no" title="function not covered" >    activated: function () {</span>
      // 活动就激活覆盖
<span class="cstat-no" title="statement not covered" >      window.NFCReturn = this.NFCReturn;</span>
<span class="cstat-no" title="statement not covered" >      window.NFCError = this.NFCError;</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >      this.reset();</span>
<span class="cstat-no" title="statement not covered" >      this.octopus.tips.debug("InspectList.vue执行了activated事件。");</span>
    },
<span class="fstat-no" title="function not covered" >    deactivated: function () {</span>
<span class="cstat-no" title="statement not covered" >      this.active = false; // 活动状态设置为false</span>
<span class="cstat-no" title="statement not covered" >      this.octopus.tips.debug("InspectList.vue执行了deactivated事件。");</span>
    },
    methods: {
<span class="fstat-no" title="function not covered" >      loadNext: function () {</span>
<span class="cstat-no" title="statement not covered" >        let o = this;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.inspect.data, "ProjectID").filterValue = this.octopus.passport.project;</span>
        // 查询前重置。
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.inspect.data, "UserList").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.inspect.data, "Status").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.inspect.data, "IsDelay").filterValue = null;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.inspect.data, "IsException").filterValue = null;</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >        let query = this.octopus.router.get().query;</span>
        // 如果是巡检中
<span class="cstat-no" title="statement not covered" >        if (query["type"] == "DoingCount" || query["status"] == "2") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "巡检中列表";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "Status").filterValue = 2;</span>
<span class="cstat-no" title="statement not covered" >        } else if (query["type"] == "TodoCount" || query["status"] == "1") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "未巡检列表";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "Status").filterValue = 1;</span>
<span class="cstat-no" title="statement not covered" >        } else if (query["status"] == "3") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "巡检已完成列表";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "Status").filterValue = 3;</span>
<span class="cstat-no" title="statement not covered" >        } else if (query["type"] == "DelayCount") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "巡检延误的列表";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "IsDelay").filterValue = 1;</span>
<span class="cstat-no" title="statement not covered" >        } else if (query["type"] == "ExceptionCount") {</span>
<span class="cstat-no" title="statement not covered" >          this.title = "巡检异常的列表";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "IsException").filterValue = 1;</span>
        } else {
<span class="cstat-no" title="statement not covered" >          this.title = "未定义列表";</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "Status").filterValue = -11;</span>
        }
&nbsp;
        // 只有待巡检、巡检中才能打卡
<span class="cstat-no" title="statement not covered" >        if (query["status"] == "1" || query["status"] == "2") {</span>
<span class="cstat-no" title="statement not covered" >          this.canCheckPoint = true;</span>
        } else {
<span class="cstat-no" title="statement not covered" >          this.canCheckPoint = false;</span>
        }
&nbsp;
        // 如果是状态，则绑定用户ID
<span class="cstat-no" title="statement not covered" >        if (query["status"]) {</span>
<span class="cstat-no" title="statement not covered" >          this.canCheckPoint = true;</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tools.parseCell(this.list.inspect.data, "UserList").filterValue = [this.octopus.passport.id];</span>
        }
&nbsp;
<span class="cstat-no" title="statement not covered" >        this.list.inspect.data.pageData.index = this.indexData;</span>
        // alert(this.indexData);
        // 请求后台八爪鱼API框架。
<span class="cstat-no" title="statement not covered" >        this.octopus.request.api.post("/Octopus/Engine/List", this.list.inspect.data,</span>
          // 处理回调事件，通过分析data.status.code的状态来实现。
<span class="fstat-no" title="function not covered" >          function (data) {</span>
<span class="cstat-no" title="statement not covered" >            if (data.status.code == 200) {</span>
              // o.$set(o.list.sensor, "data", data.content);
              // 追加数据
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >              $(data.content.queryData).each(function (index, item) {</span></span>
<span class="cstat-no" title="statement not covered" >                o.list.inspectData.push(item);</span>
              });
              // 执行完，分页+1
<span class="cstat-no" title="statement not covered" >              o.indexData += 1;</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >              if (o.indexData &gt; data.content.pageData.totalPages) {</span>
<span class="cstat-no" title="statement not covered" >                o.finished = true;</span>
              }
            } else {
<span class="cstat-no" title="statement not covered" >              o.octopus.tips.error(data);</span>
            }
            // 加载状态结束
<span class="cstat-no" title="statement not covered" >            o.loading = false;</span>
          });
      },
<span class="fstat-no" title="function not covered" >      open: function (inspect) {</span>
<span class="cstat-no" title="statement not covered" >        let o = this;</span>
        // 获得选中的对象
<span class="cstat-no" title="statement not covered" >        this.InspectInfoData = inspect;</span>
        // 绑定数据源巡检单ID
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.parseCell(this.list.inspectionPoint.data, "InspectionID").filterValue = inspect.ID;</span>
        // 请求后台八爪鱼API框架。
<span class="cstat-no" title="statement not covered" >        this.octopus.request.api.post("/Octopus/Engine/List", this.list.inspectionPoint.data,</span>
          // 处理回调事件，通过分析data.status.code的状态来实现。
<span class="fstat-no" title="function not covered" >          function (data) {</span>
<span class="cstat-no" title="statement not covered" >            if (data.status.code == 200) {</span>
<span class="cstat-no" title="statement not covered" >              o.$set(o.list.inspectionPoint, "data", data.content);</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >              o.showPointData = true;</span>
            } else {
<span class="cstat-no" title="statement not covered" >              o.octopus.tips.error(data);</span>
            }
          });
      },
<span class="fstat-no" title="function not covered" >      check: function (point) {</span>
<span class="cstat-no" title="statement not covered" >        this.PointInfoData = point;</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.tools.NFCStart();</span>
        // 测试NFC
        // this.NFCReturn("123");
        // let checkData = this.octopus.tools.date("yyyy/MM/dd HH:mm:ss");
        // alert("1:::" + checkData + ":::" + new Date(checkData));
        // alert("2:::" + this.PointInfoData.PlanStartTime + ":::" + new Date(this.PointInfoData.PlanStartTime.replace(/-/g,'/')));
      },
<span class="fstat-no" title="function not covered" >      reset: function () {</span>
        // 每次激活，重新加载
<span class="cstat-no" title="statement not covered" >        this.$set(this.list, "inspectData", []);</span>
<span class="cstat-no" title="statement not covered" >        this.indexData = 1;</span>
<span class="cstat-no" title="statement not covered" >        this.finished = false;</span>
<span class="cstat-no" title="statement not covered" >        this.active = true;// 活动状态设置为true</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >        this.octopus.tips.debug("InspectList.vue执行了reset事件。");</span>
      },
<span class="fstat-no" title="function not covered" >      back: function () {</span>
<span class="cstat-no" title="statement not covered" >        this.octopus.router.jump('/APP/Inspect/Main/Page')</span>
      },
<span class="fstat-no" title="function not covered" >      NFCReturn: function (value) {</span>
<span class="cstat-no" title="statement not covered" >        value = value.split(",")[0]; // 获取NFC芯片代码时，取逗号前面的，第一格是NFC代码。</span>
<span class="cstat-no" title="statement not covered" >        let o = this;</span>
<span class="cstat-no" title="statement not covered" >        if (value != this.PointInfoData.NFCCode) {</span>
          //   if (value != "123") {
<span class="cstat-no" title="statement not covered" >          console.log(this.PointInfoData.NFCCode);</span>
<span class="cstat-no" title="statement not covered" >          this.octopus.tips.message("该芯片不属于该点位，请到对应点位扫描。");</span>
        } else {
          // 是否符合打卡的条件。
<span class="cstat-no" title="statement not covered" >          let isCanCheck = true;</span>
          // 打卡时间
<span class="cstat-no" title="statement not covered" >          let checkData = this.octopus.tools.date("yyyy-MM-dd HH:mm:ss");</span>
          // 是否完成
<span class="cstat-no" title="statement not covered" >          let isComplete = true;</span>
&nbsp;
          // 如果是顺序打卡，则判断直到当前点位前都必须打上，否则弹出不可以。
<span class="cstat-no" title="statement not covered" >          if (this.InspectInfoData.IsSort == 1) {</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >            $(this.list.inspectionPoint.data.queryData).each(function (index, item) {</span></span>
              // 判断是否是顺序打卡逻辑，判断在碰到当前节点前，有点位没有打卡，则退出。
<span class="cstat-no" title="statement not covered" >              if (item.ID == o.PointInfoData.ID) {</span>
<span class="cstat-no" title="statement not covered" >                return false;</span>
              }
<span class="cstat-no" title="statement not covered" >              if (item.IsCheck == 0) {</span>
<span class="cstat-no" title="statement not covered" >                isCanCheck = false;</span>
              }
            });
          }
&nbsp;
          // 指定打卡流程
<span class="cstat-no" title="statement not covered" >          if (isCanCheck) {</span>
            // 到此处已经确认可以打卡了
<span class="cstat-no" title="statement not covered" >            this.PointInfoData.IsCheck = 1;</span>
&nbsp;
            // 循环看是否已经完成所有的打卡了。
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >            $(this.list.inspectionPoint.data.queryData).each(function (index, item) {</span></span>
              // 发现还有未打卡的，将完成状态设置为false。
<span class="cstat-no" title="statement not covered" >              if (item.IsCheck == 0) {</span>
<span class="cstat-no" title="statement not covered" >                isComplete = false;</span>
<span class="cstat-no" title="statement not covered" >                return false;</span>
              }
            });
&nbsp;
            // 如果当前打卡的时间 大于 计划时间，则认为延误。移动端只支持斜杠的字符串日期。。。
<span class="cstat-no" title="statement not covered" >            let diffMinute = (new Date() - new Date(this.PointInfoData.PlanStartTime.replace(/-/g, '/')));</span>
            // alert(diffMinute);
<span class="cstat-no" title="statement not covered" >            if (diffMinute &gt; 0) {</span>
              // 延误设置为【是】
<span class="cstat-no" title="statement not covered" >              this.PointInfoData.IsDelay = 1;</span>
            }
&nbsp;
            // 更新巡检单点位表
<span class="cstat-no" title="statement not covered" >            this.octopus.request.api.post("/Octopus/Engine/Item", {</span>
                id: 55, // 采用巡检点编辑源，视图是不能更新的。
                type: "UPDATE",
                value: this.PointInfoData.ID,
                cellData: [
                  {name: "IsDelay", defaultValue: this.PointInfoData.IsDelay},
                  {name: "IsCheck", defaultValue: 1},
                  {name: "RealStartTime", defaultValue: checkData},
                  {name: "CheckUserID", defaultValue: this.octopus.passport.id},
                ],
              },
              // 处理回调事件，通过分析data.status.code的状态来实现。
<span class="fstat-no" title="function not covered" >              function (data) {</span>
<span class="cstat-no" title="statement not covered" >                if (data.status.code == 200) {</span>
                  // 更新点位数据信息
<span class="cstat-no" title="statement not covered" >                  o.PointInfoData.IsDelay = o.PointInfoData.IsDelay;</span>
<span class="cstat-no" title="statement not covered" >                  o.PointInfoData.RealStartTime = checkData;</span>
<span class="cstat-no" title="statement not covered" >                  o.PointInfoData.CheckUserID = o.octopus.passport.realName;</span>
<span class="cstat-no" title="statement not covered" >                  o.octopus.tips.message("打卡成功，辛苦了。");</span>
                } else {
<span class="cstat-no" title="statement not covered" >                  o.octopus.tips.error(data);</span>
                }
              });
&nbsp;
            ////////////////////////////////////////    更新主表     //////////////////////////////////////
<span class="cstat-no" title="statement not covered" ><span class="cstat-no" title="statement not covered" >            let inspectUpdateData = {</span></span>
              id: 86, // 采用巡检单编辑源，视图是不能更新的。
              value: this.InspectInfoData.ID,
              type: "UPDATE",
              cellData: [],
            }
            // 如果延期了，则更新主表为延误
            if (this.PointInfoData.IsDelay == 1) {
<span class="cstat-no" title="statement not covered" >              inspectUpdateData.cellData.push({name: "IsDelay", defaultValue: this.PointInfoData.IsDelay});</span>
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.IsDelay = this.PointInfoData.IsDelay;</span>
            }
            // 如果主表实际开始时间为空，则更新实际开始时间
<span class="cstat-no" title="statement not covered" >            if (this.octopus.tools.IsNullOrEmpty(this.InspectInfoData.RealStartTime)) {</span>
<span class="cstat-no" title="statement not covered" >              inspectUpdateData.cellData.push({name: "Status", defaultValue: 2});// 标记为2：巡检中</span>
<span class="cstat-no" title="statement not covered" >              inspectUpdateData.cellData.push({name: "RealStartTime", defaultValue: checkData});// 记录打卡启动时间</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.Status = "巡检中";</span>
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.StatusValue = 2;</span>
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.RealStartTime = checkData;</span>
            }
            // 是否全部完成
<span class="cstat-no" title="statement not covered" >            if (isComplete) {</span>
<span class="cstat-no" title="statement not covered" >              inspectUpdateData.cellData.push({name: "Status", defaultValue: 3});// 标记为2：巡检中</span>
<span class="cstat-no" title="statement not covered" >              inspectUpdateData.cellData.push({name: "FinishTime", defaultValue: checkData});// 完成日期</span>
&nbsp;
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.Status = "已巡检";</span>
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.StatusValue = 3;</span>
<span class="cstat-no" title="statement not covered" >              this.InspectInfoData.FinishTime = checkData;</span>
            }
&nbsp;
            // 如果有更新的列，则更新主表。
<span class="cstat-no" title="statement not covered" >            if (inspectUpdateData.cellData.length &gt; 0) {</span>
              // alert(JSON.stringify(inspectUpdateData));
<span class="cstat-no" title="statement not covered" >              this.octopus.request.api.post("/Octopus/Engine/Item", inspectUpdateData,</span>
                // 处理回调事件，通过分析data.status.code的状态来实现。
<span class="fstat-no" title="function not covered" >                function (data) {</span>
<span class="cstat-no" title="statement not covered" >                  if (data.status.code == 200) {</span>
                    // 更新列表
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >                    $(o.list.inspectData).each(function (index, item) {</span></span>
<span class="cstat-no" title="statement not covered" >                      if (item.ID == o.InspectInfoData.ID) {</span>
<span class="cstat-no" title="statement not covered" >                        item = o.InspectInfoData;</span>
<span class="cstat-no" title="statement not covered" >                        return false;</span>
                      }
                    });
&nbsp;
                  } else {
<span class="cstat-no" title="statement not covered" >                    o.octopus.tips.error(data);</span>
                  }
                });
            }
&nbsp;
&nbsp;
          } else {
<span class="cstat-no" title="statement not covered" >            this.octopus.tips.message("当前路线为顺序打卡，请先确保之前的点位已打卡。");</span>
          }
        }
      },
<span class="fstat-no" title="function not covered" >      NFCError: function (value) {</span>
<span class="cstat-no" title="statement not covered" >        alert(value);</span>
      }
    },
    props: ["oData"]
  }
&lt;/script&gt;
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Jan 20 2020 17:54:15 GMT+0800 (GMT+08:00)
</div>
</div>
<script src="..\..\..\..\..\prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="..\..\..\..\..\sorter.js"></script>
</body>
</html>
